home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 February / EnigmA AMIGA RUN 34 (1999)(G.R. Edizioni)(IT)[!][issue 1999-02].iso / www / amitrix / awebgif.lha / awebgif / Install < prev    next >
Text File  |  1998-02-16  |  2KB  |  89 lines

  1. ; $VER: Install_awebgif_awebplugin
  2. ; Description: Installer script for the "awebgif" plugin for AWeb-II 3.0+
  3.  
  4. (set #welcome
  5.    (cat "This installation procedure will install the \"awebgif\" plugin module for AWeb-II version 3.0 or higher.\n"
  6.         "\n"
  7.         "This plugin enables you to view GIF images in AWeb without the use of datatypes. The plugin has the following features:\n"
  8.         "Optional progressive display\n"
  9.         "Optional playback of animated GIF\n"
  10.         "Transparency\n"
  11.         "Support for image scaling\n"
  12.         "Support for CyberGraphics\n"
  13.    )
  14. )
  15.  
  16. (set #no-aweb3
  17.    (cat "The \"AWeb3:\" assign was not found.\n\n"
  18.         "This plugin can only be used with AWeb-II version 3.0 or higher."
  19.    )
  20. )
  21.  
  22. (set #show-docs
  23.    (cat "All necessary files have been copied. "
  24.       "To use the plugin, you have to do some additional setup. "
  25.       "This is described in the documentation. "
  26.       "From the documentation, you can run the setup script that performs the additional setup automatically. "
  27.       "\n"
  28.       "Do you want to view the documentation now?\n"
  29.    )
  30. )
  31.  
  32. ; ---------------------------------------------------------------------------
  33.  
  34. (complete 0)
  35.  
  36. (message #welcome)
  37.  
  38. (if (not (exists "AWeb3:"))
  39.    (abort #no-aweb3)
  40. )
  41.  
  42. (complete 10)
  43.  
  44. (if (not (exists "AWeb3:awebplugin"))
  45.    (makedir "AWeb3:awebplugin"
  46.       (infos)
  47.    )
  48. )
  49.  
  50. (set srcdir (pathonly @icon))
  51.  
  52. (copyfiles
  53.    (source (tackon srcdir "awebgif.awebplugin"))
  54.    (dest "AWeb3:awebplugin")
  55.    (infos)
  56. )
  57.  
  58. (complete 50)
  59.  
  60. (if (not (exists "AWeb3:awebplugin/Docs"))
  61.    (makedir "AWeb3:awebplugin/Docs"
  62.       (infos)
  63.    )
  64. )
  65.  
  66. (copyfiles
  67.    (source srcdir)
  68.    (choices "awebgif.html" "awebgif.awebrx")
  69.    (dest "AWeb3:awebplugin/Docs")
  70.    (infos)
  71. )
  72.  
  73. (complete 90)
  74.  
  75. (if
  76.    (askbool
  77.       (prompt #show-docs)
  78.       (help #show-docs)
  79.       (default 1)
  80.    )
  81.    (
  82.       (run "run AWeb3:AWeb-II file:///AWeb3:awebplugin/Docs/awebgif.html")
  83.    )
  84. )
  85.  
  86. (set @default-dest (expandpath "AWeb3:awebplugin"))
  87.  
  88. (complete 100)
  89.